//按需加载字体图标
import {
    BookOutlined,
    ReadOutlined,
    ScheduleOutlined,
    SisternodeOutlined,
    LikeOutlined
} from "@ant-design/icons-vue"
//引入路由跳转方法
import { useRouteNameToPage, useRoutePathToPage } from "@u/router"
export const showIndexViewConfig = {
    avatar: {
        src: require("@a/logo.png"),
        size: "large"
    },
    title: "纪善生",
    subTitle: "莫道征途路漫漫，愿效江水不去还。",
    unwantedBackWhiteList: ["ShowBlog"],
    homePath: "/show/blogs/1",
    buttonGroup: [{
            text: "生活日志",
            icon: < BookOutlined / > ,
            handle: useRoutePathToPage("/show/blogs/1")
        },
        {
            text: "知识",
            icon: < ReadOutlined / > ,
            handle: useRoutePathToPage("/show/books/1")
        },
        {
            text: "项目",
            icon: < ScheduleOutlined / > ,
            handle: useRouteNameToPage("ShowProject")
        },
        {
            text: "归档",
            icon: < SisternodeOutlined / > ,
            handle: useRouteNameToPage("ShowMenu")
        },
        {
            text: "赞助列表",
            icon: < LikeOutlined / > ,
            handle: useRouteNameToPage("ShowList")
        }
    ]
}